From: Cosimo Cecchi Date: Sun, 16 Feb 2014 04:26:14 +0000 (-0800) Subject: iconGrid: don't force icon size to the BaseIcon X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2777 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9cc1017912552e18b02719fdb07a8cfe9b86928c;p=gnome-shell.git iconGrid: don't force icon size to the BaseIcon Since we might get a scaled up version for HiDpi. https://bugzilla.gnome.org/show_bug.cgi?id=705410 --- diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js index d35c97bb3..51fba64f8 100644 --- a/js/ui/iconGrid.js +++ b/js/ui/iconGrid.js @@ -143,11 +143,6 @@ const BaseIcon = new Lang.Class({ this.icon = this.createIcon(this.iconSize); this._iconBin.child = this.icon; - - // The icon returned by createIcon() might actually be smaller than - // the requested icon size (for instance StTextureCache does this - // for fallback icons), so set the size explicitly. - this._iconBin.set_size(this.iconSize, this.iconSize); }, _onStyleChanged: function() {